import type { RouteRecordItem } from 'vc/src/router';

import { LAYOUT } from '@/router/constants';

const utils: RouteRecordItem = {
  path: '/resourceUtilization',
  component: LAYOUT,
  meta: {
    title: '资源综合利用',
    menuIndex: 0,
    subMenuIndex: 8
  },
  children: [
    {
      path: 'constructionWaste',
      component: () => import('@/views/modules/resourceUtilization/constructionWaste/index.vue'),
      meta: {
        title: '建筑垃圾资源化利用规范企业'
      }
    },
    {
      path: 'scrapIronProcessingIndustry',
      component: () => import('@/views/modules/resourceUtilization/scrapIronProcessingIndustry/index.vue'),
      meta: {
        title: '废钢铁加工行业准入企业'
      }
    },
    {
      path: 'wastePlastic',
      component: () => import('@/views/modules/resourceUtilization/wastePlastic/index.vue'),
      meta: {
        title: '废塑料综合利用规范企业'
      }
    },
    {
      path: 'wasteMineralOil',
      component: () => import('@/views/modules/resourceUtilization/wasteMineralOil/index.vue'),
      meta: {
        title: '废矿物油综合利用规范企业'
      }
    },
    {
      path: 'wasteElectronicRecycling',
      component: () => import('@/views/modules/resourceUtilization/wasteElectronicRecycling/index.vue'),
      meta: {
        title: '废弃电子产品回收企业'
      }
    },
    {
      path: 'remanufacturedManufacturer',
      component: () => import('@/views/modules/resourceUtilization/remanufacturedManufacturer/index.vue'),
      meta: {
        title: '再制造产品制造商'
      }
    }
  ]
};

export default utils;
